package com.generator;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.generator.core.ProcessCoreBiz;

public class ProjectGenerater {

	public static void main(String[] args) {
		@SuppressWarnings("resource")
		ApplicationContext context = new ClassPathXmlApplicationContext("application-context.xml");
        //得到类的实例
		ProcessCoreBiz processer = (ProcessCoreBiz) context.getBean(ProcessCoreBiz.class);
		processer.process();
	}
}
